import { createApp } from 'vue'
import App from './App.vue'

Object.defineProperty(Array.prototype, 'toggre', {
    enumerable: true,
    configurable: false,
    writable: false,
    value: function (this: any[], item: any) {
        const index = this.indexOf(item)
        if (index >= 0) {
            this.splice(index, 1)
        } else {
            this.push(item)
        }
    }
})


createApp(App).mount('#app')
